package com.fowo.api.model.supplier.expand.info;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ContentStyle;
import com.alibaba.excel.enums.poi.HorizontalAlignmentEnum;
import com.fowo.api.common.excel.ImageConvert;
import com.fowo.api.sys.entity.SysFile;
import java.util.List;
import javax.validation.constraints.*;
import lombok.Getter;
import lombok.Setter;

/** 供应商拓展信息 导入导出辅助模型 */
@Getter
@Setter
public class SupplierExpandInfoExcelPo {

  @ContentStyle(
    horizontalAlignment = HorizontalAlignmentEnum.LEFT,
    dataFormat = 49
  )
  @ExcelProperty(value = "所属供应商产品开发实施")
  private String parentSupplierTaskInstanceInstanceId;

  @ExcelIgnore
  @ExcelProperty(value = "所属供应商产品开发实施")
  private Long parentSupplierTaskInstance;

  @ContentStyle(
    horizontalAlignment = HorizontalAlignmentEnum.LEFT,
    dataFormat = 49
  )
  @ExcelProperty(value = "所属供应商")
  private String parentSupplierSupplierName;

  @ExcelIgnore
  @ExcelProperty(value = "所属供应商")
  private Long parentSupplier;

  @ExcelProperty(value = "注册资本")
  private Long registeredCapital;

  @Size(max = 50, message = "经营范围长度不能超过20")
  @ContentStyle(
    horizontalAlignment = HorizontalAlignmentEnum.LEFT,
    dataFormat = 49
  )
  @ExcelProperty(value = "经营范围")
  private String businessScope;

  @Size(max = 50, message = "地点长度不能超过20")
  @ContentStyle(
    horizontalAlignment = HorizontalAlignmentEnum.LEFT,
    dataFormat = 49
  )
  @ExcelProperty(value = "地点")
  private String address;

  @ContentStyle(
    horizontalAlignment = HorizontalAlignmentEnum.LEFT,
    dataFormat = 49
  )
  @ExcelProperty(value = "是否源头工厂")
  private String ifSourceFactory;

  @Size(max = 50, message = "设计人员长度不能超过20")
  @ContentStyle(
    horizontalAlignment = HorizontalAlignmentEnum.LEFT,
    dataFormat = 49
  )
  @ExcelProperty(value = "设计人员")
  private String designers;

  @Size(max = 50, message = "打版师长度不能超过20")
  @ContentStyle(
    horizontalAlignment = HorizontalAlignmentEnum.LEFT,
    dataFormat = 49
  )
  @ExcelProperty(value = "打版师")
  private String typesetter;

  @Size(max = 50, message = "排产人员长度不能超过20")
  @ContentStyle(
    horizontalAlignment = HorizontalAlignmentEnum.LEFT,
    dataFormat = 49
  )
  @ExcelProperty(value = "排产人员")
  private String productionSchedulingPersonnel;

  @Size(max = 50, message = "生产人员长度不能超过20")
  @ContentStyle(
    horizontalAlignment = HorizontalAlignmentEnum.LEFT,
    dataFormat = 49
  )
  @ExcelProperty(value = "生产人员")
  private String productionPersonnel;

  @Size(max = 50, message = "财务行政人员长度不能超过20")
  @ContentStyle(
    horizontalAlignment = HorizontalAlignmentEnum.LEFT,
    dataFormat = 49
  )
  @ExcelProperty(value = "财务行政人员")
  private String financialAdministrativePersonnel;

  @Size(max = 50, message = "加工制造能力长度不能超过20")
  @ContentStyle(
    horizontalAlignment = HorizontalAlignmentEnum.LEFT,
    dataFormat = 49
  )
  @ExcelProperty(value = "加工制造能力")
  private String processManufacturingCapacity;

  @Size(max = 50, message = "固定资产长度不能超过20")
  @ContentStyle(
    horizontalAlignment = HorizontalAlignmentEnum.LEFT,
    dataFormat = 49
  )
  @ExcelProperty(value = "固定资产")
  private String fixedAssets;

  @Size(max = 50, message = "流动资金长度不能超过20")
  @ContentStyle(
    horizontalAlignment = HorizontalAlignmentEnum.LEFT,
    dataFormat = 49
  )
  @ExcelProperty(value = "流动资金")
  private String currentAssets;

  @Size(max = 50, message = "应收应付账款长度不能超过20")
  @ContentStyle(
    horizontalAlignment = HorizontalAlignmentEnum.LEFT,
    dataFormat = 49
  )
  @ExcelProperty(value = "应收应付账款")
  private String receivablePayableAccounts;

  @Size(max = 50, message = "库存情况长度不能超过20")
  @ContentStyle(
    horizontalAlignment = HorizontalAlignmentEnum.LEFT,
    dataFormat = 49
  )
  @ExcelProperty(value = "库存情况")
  private String inventoryStatus;

  @Size(max = 50, message = "企业长度不能超过20")
  @ContentStyle(
    horizontalAlignment = HorizontalAlignmentEnum.LEFT,
    dataFormat = 49
  )
  @ExcelProperty(value = "企业")
  private String enterprise;

  @Size(max = 50, message = "法人长度不能超过20")
  @ContentStyle(
    horizontalAlignment = HorizontalAlignmentEnum.LEFT,
    dataFormat = 49
  )
  @ExcelProperty(value = "法人")
  private String legalPerson;

  @ExcelProperty(value = "知识产权", converter = ImageConvert.class)
  private List<SysFile> intellectualProperty;

  @ExcelProperty(value = "老板身份证复印件", converter = ImageConvert.class)
  private List<SysFile> bossIDCopyCard;

  @ExcelProperty(value = "质量体系认证", converter = ImageConvert.class)
  private List<SysFile> qualitySystemCertification;

  @ExcelProperty(value = "设备", converter = ImageConvert.class)
  private List<SysFile> device;

  @ExcelProperty(value = "厂房", converter = ImageConvert.class)
  private List<SysFile> workShop;

  @Size(max = 50, message = "现场图片长度不能超过20")
  @ExcelProperty(value = "现场图片", converter = ImageConvert.class)
  private List<SysFile> livePictures;

  @ExcelProperty(value = "行业强制认证", converter = ImageConvert.class)
  private List<SysFile> industryMandatoryCertification;

  @ExcelProperty(value = "营业执照", converter = ImageConvert.class)
  private List<SysFile> businessLicense;

  @ExcelProperty(value = "巡场拍照", converter = ImageConvert.class)
  private List<SysFile> patrolPhotography;

  @ExcelProperty(value = "合同模版", converter = ImageConvert.class)
  private List<SysFile> contractTemplate;
}
